//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at  http://www.nopCommerce.com/License.aspx. 
// 
// Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. 
// See the License for the specific language governing rights and limitations under the License.
// 
// The Original Code is nopCommerce.
// The Initial Developer of the Original Code is NopSolutions.
// All Rights Reserved.
// 
// Contributor(s): _______. 
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using NopSolutions.NopCommerce.Common;

namespace NopSolutions.NopCommerce.BusinessLogic.Alesko
{
    /// <summary>
    /// HtmlContent service interface
    /// </summary>
    public partial interface IHtmlContentService
    {
        /// <summary>
        /// Gets a HtmlContent
        /// </summary>
        /// <param name="ContentId">The content identifier</param>
        /// <returns>HtmlContent</returns>
        HtmlContent GetHtmlContentById(int ContentId);

        /// <summary>
        /// Deletes a HtmlContent
        /// </summary>
        /// <param name="ContentId">The Message identifier</param>
        void DeleteHtmlContent(int ContentId);

        /// <summary>
        /// Gets all HtmlContent
        /// </summary>
        /// <returns>HtmlContent item collection</returns>
        List<HtmlContent> GetAllHtmlContent();

        /// <summary>
        /// Gets HtmlContent item collection
        /// </summary>
        /// <param name="pageSize">Page size</param>
        /// <param name="pageIndex">Page index</param>
        /// <returns>HtmlContent item collection</returns>
        PagedList<HtmlContent> GetAllHtmlContent(int pageIndex, int pageSize);

        /// <summary>
        /// Inserts a HtmlContent item
        /// </summary>
        /// <param name="HtmlContent">HtmlContent item</param>
        void InsertHtmlContent(HtmlContent HtmlContent);

        /// <summary>
        /// Updates the HtmlContent item
        /// </summary>
        /// <param name="HtmlContent">HtmlContent item</param>
        void UpdateHtmlContent(HtmlContent HtmlContent);        
    }
}
